package com.shanghai.shanghaielectric.Model;

import android.provider.ContactsContract;

import org.litepal.crud.DataSupport;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import shanghaielectric_lib.Utils.DateUtil;

/**
 * Created by 45000460 on 2017/12/27.
 */

public class CapacityCuttingModel extends DataSupport {
    public int id;
    public long date;
    public int GB_1;
    public int GB_2;
    public int GB_3;
    public int GB_4;

    public int FB_1_A;
    public int FB_1_B;
    public int FB_1_C;

    public int FB_2_A;
    public int FB_2_B;
    public int FB_2_C;

    public int FB_3_A;
    public int FB_3_B;
    public int FB_3_C;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getDate() {
        return date;
    }

    public void setDate(long date) {
        this.date = date;
    }

    public int getGB_1() {
        return GB_1;
    }

    public void setGB_1(int GB_1) {
        this.GB_1 = GB_1;
    }

    public int getGB_2() {
        return GB_2;
    }

    public void setGB_2(int GB_2) {
        this.GB_2 = GB_2;
    }

    public int getGB_3() {
        return GB_3;
    }

    public void setGB_3(int GB_3) {
        this.GB_3 = GB_3;
    }

    public int getGB_4() {
        return GB_4;
    }

    public void setGB_4(int GB_4) {
        this.GB_4 = GB_4;
    }

    public int getFB_1_A() {
        return FB_1_A;
    }

    public void setFB_1_A(int FB_1_A) {
        this.FB_1_A = FB_1_A;
    }

    public int getFB_1_B() {
        return FB_1_B;
    }

    public void setFB_1_B(int FB_1_B) {
        this.FB_1_B = FB_1_B;
    }

    public int getFB_1_C() {
        return FB_1_C;
    }

    public void setFB_1_C(int FB_1_C) {
        this.FB_1_C = FB_1_C;
    }

    public int getFB_2_A() {
        return FB_2_A;
    }

    public void setFB_2_A(int FB_2_A) {
        this.FB_2_A = FB_2_A;
    }

    public int getFB_2_B() {
        return FB_2_B;
    }

    public void setFB_2_B(int FB_2_B) {
        this.FB_2_B = FB_2_B;
    }

    public int getFB_2_C() {
        return FB_2_C;
    }

    public void setFB_2_C(int FB_2_C) {
        this.FB_2_C = FB_2_C;
    }

    public int getFB_3_A() {
        return FB_3_A;
    }

    public void setFB_3_A(int FB_3_A) {
        this.FB_3_A = FB_3_A;
    }

    public int getFB_3_B() {
        return FB_3_B;
    }

    public void setFB_3_B(int FB_3_B) {
        this.FB_3_B = FB_3_B;
    }

    public int getFB_3_C() {
        return FB_3_C;
    }

    public void setFB_3_C(int FB_3_C) {
        this.FB_3_C = FB_3_C;
    }

    public List<String> getData() {
        List<String> objectList = new ArrayList<>();
        objectList.add(DateUtil.dateToString_yy_MM_dd(date));
        objectList.add(GB_1+"");
        objectList.add(GB_2+"");
        objectList.add(GB_3+"");
        objectList.add(GB_4+"");

        objectList.add(FB_1_A+"");
        objectList.add(FB_1_B+"");
        objectList.add(FB_1_C+"");

        objectList.add(FB_2_A+"");
        objectList.add(FB_2_B+"");
        objectList.add(FB_2_C+"");

        objectList.add(FB_3_A+"");
        objectList.add(FB_3_B+"");
        objectList.add(FB_3_C+"");

        return objectList;
    }


}
